#!/bin/bash

addr=127.0.0.1
port=1080

if [ "$1" = "c" ]; then
    export http_proxy=
    export https_proxy=
else
export http_proxy=$addr:$port
export https_proxy=$addr:$port
fi
